<?php 
 header("Content-Type: text/html;charset=utf-8");
 $email = $_GET['email'];
 $pass = $_GET['password1'];
 $db = new mysqli("localhost",'root','root','xlj');
	$r = $db->query("insert into user values(null,'$email','$pass')");
	echo "insert into user values(null,'$email','$pass')";
    if ($db->error) {
		echo "插入失败".$db->error;
	}else{
		echo "插入成功".$db->affected_rows."条数据";
	}

 ?>